<?php
/* @var $this PayController */
/* @var $model LogRecharge */
?>

<?php
$this->breadcrumbs=[
	'充值日志'=>['index'],
	$model->id,
];

$this->menu=[
	['icon' => 'glyphicon glyphicon-home','label'=>'充值日志管理', 'url'=>['admin']],
];

$this->pageTitle='查看';
$this->pageSubTitle='充值日志'.$model->id.'.';


?>

<div class="row">
	<div class="col-lg-12">
		<div class="panel panel-success">
			<div class="panel-heading">
				<h4>查看详细信息</h4>
			</div>
			<div class="panel-body">
				<?php $this->widget('zii.widgets.CDetailView',[
				'htmlOptions' => [
				'class' => 'table table-striped table-condensed table-hover',
				],
				'data'=>$model,
				'attributes'=>[
						'id',
		'create_time',
		'amount',
		array(
			'name'=>'user_id',
			'value'=>CHtml::value($model,"user.nickname")."(".CHtml::value($model,"user.mobile").")"
		),
		array('name'=>'scheme','value'=>$model->rtype($model->scheme)),
		array('name'=>'status','value'=>$model->rechargeStatus($model->id)),
		'ochannel',
		'channel',
		'app_unique_id',
		'card_id',
		'card_password',
		'order_code',
		'ip',
				],
				]); ?>
			</div> <!-- end panel-body -->
		</div>
	</div>
</div> <!-- end row -->